# _*_ coding: utf-8 _*_
from odoo import models, fields, api


class SaleOrder(models.Model):
    _inherit = "sale.order"

    price_confirmed = fields.Boolean(string="Price Confirmed")

    @api.multi
    def toggle_price_confirmed(self):
        for record in self:
            record.price_confirmed = not record.price_confirmed
